package com.his.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * 总的订单类
 * @author dawn
 */
@Data
@NoArgsConstructor
public class TotalOrder {
    private List<Order> operation;

    private List<Order> nursing;

    private List<Order> medicinal;

    private List<Application> application;

    public TotalOrder(List<Order> operation,List<Order> medicinal,List<Order> nursing,Application application){
        this.application=new ArrayList<>();
        this.operation=operation;
        this.medicinal=medicinal;
        this.nursing=nursing;
        this.application.add(application);
    }
}
